import api from '../index'
import tools from '@/tools'
import config from "@/config"

// 查询审批详细
export const historyFromData = (instanceId) => {
  const url = `${config.pre}/supplier-activity/historyFromData/ByInstanceId/${instanceId}`
  return api.get(url)
}

export const historyFromDataV2 = (instanceId) => {
	const url = `${config.pre}/supplier-activity/historyFromData/ByInstanceId/v2/${instanceId}`
	return api.get(url)
}
